package handler

import (
	"github.com/gin-gonic/gin"
	"github.com/juexin/gin-base/pkg/response"
)

type HealthHandler struct{}

func NewHealthHandler() *HealthHandler {
	return &HealthHandler{}
}

// Check 健康检查
func (h *HealthHandler) Check(c *gin.Context) {
	response.SuccessWithMsg(c, "服务正常", gin.H{
		"status":  "ok",
		"service": "base-api",
	})
}
